﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Chinaer.DTO
{
    [Serializable]
    [DataContract]
    public class ShangJiaIsReadZhongXinGongGaoDTO:Base_ID
    {
         /// <summary>
        /// 中心公告编号
        /// </summary>
        [DataMember]
        public string ZhongXinGongGaoID { get; set; }
        /// <summary>
        /// 商家编号
        /// </summary>
        [DataMember]
        public string ShangJiaID { get; set; }
        /// <summary>
        /// 是否阅读
        /// </summary>
        private bool _isRead = false;
        [DataMember]
        private DateTime? _readTime = DateTime.Now;
        /// <summary>
        /// 是否阅读
        /// </summary>
        [DataMember]
        public bool IsRead
        {
            get
            {
                return _isRead;
            }
            set
            {
                _isRead = value;
            }

        }
        /// <summary>
        /// 阅读时间
        /// </summary>
        public DateTime? ReadTime
        {
            get
            {
                return _readTime;
            }
            set
            {
                _readTime = value;
            }

        }
    }
}
